package com.yunfei.api.v2.user.valid;

import com.yunfei.api.common.contants.ApiValitationConstantMessage;
import com.yunfei.core.utils.contants.ValitationConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @program: zntg_v1
 * @description:
 * @author: zhengyunfei
 * @create: 2018-10-30 10:48
 **/
@Data
public class EqProductValid implements java.io.Serializable{


    @ApiModelProperty(value = "当前页码", required = true)
    @Pattern(regexp= ValitationConstant.NUM_REG, message= ApiValitationConstantMessage.PAGFE_NOW_NUM_REG)
    private String pageNow;
    @Pattern(regexp= ValitationConstant.NUM_REG, message= ApiValitationConstantMessage.PAGE_SIZE_NUM_REG)
    @ApiModelProperty(value = "每页显示条数", required = true)
    private String pageSize;
    @ApiModelProperty(value = "产品ID", required = false)
    private String prod_id;

    @ApiModelProperty(value = "产品ID", required = true)
    private String proj_id;

    public String getProj_id() {
        return proj_id;
    }

    public void setProj_id(String proj_id) {
        this.proj_id = proj_id;
    }

    public String getProd_id() {
        return prod_id;
    }

    public void setProd_id(String prod_id) {
        this.prod_id = prod_id;
    }

    public String getPageNow() {
        return pageNow;
    }

    public void setPageNow(String pageNow) {
        this.pageNow = pageNow;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }
}
